package com.itlong.cloud.app.service;

import com.itlong.cloud.enumerate.oldapp.Message;

/**
 * <desc>
 *     旧版APP的服务版块实现接口
 * </desc>
 * Created 2017/11/13.
 */
public interface IAppOldServeService {
    /**
     * <desc>
     *     旧版APP_获取服务版块的广告
     * </desc>
     * @param type
     * @param phoneNo
     * @param projectId
     * @return
     * @throws Exception
     * @author cuiduanwu
     * @createDate 2017/11/13
     */
    Message getAd(String phoneNo,String projectId,String type) throws Exception;

    /**
     * <desc>
     *     旧版APP_用户报修或投诉
     * </desc>
     * @param phoneNo
     * @param imageStr
     * @param imageType
     * @param propertyInfo
     * @param projectId
     * @param type 3-报修，4-投诉
     * @return
     * @throws Exception
     * @author cuiduanwu
     * @createDate 2017/11/13
     */
    Message addReportRepairOrComplaint(String phoneNo,String imageStr,String imageType,String propertyInfo,String projectId,String type) throws Exception;

    /**
     * <desc>
     *     旧版APP_检测APP版本
     * </desc>
     * @param type android/ios/iossdk/androidsdk
     * @param sort test/official
     * @return
     * @author cuiduanwu
     * @createDate 2017/11/14
     */
    Message getLatestApp(String type,String sort);




}
